package com.gtq.uhome.service;

import com.gtq.uhome.pojo.Staff;
import com.gtq.uhome.vo.Operator;
import com.gtq.uhome.vo.OperatorLog;
import org.springframework.stereotype.Component;

import java.util.List;

@Component("operatorService")
public interface OperatorService {

    List<Operator> selectAll();

    List<Operator> selectAllLike(Operator operator);

    Integer insertStaffRole(Operator operator);

    Integer findId(Object object);

    Integer updateAll(Operator operator);

    Integer deleteAll(List<Operator> operators);

    Integer updatePassword(Staff staff);
}
